/*
 * @Author: LVGRAPE
 * @LastEditors: LVGRAPE
 */
#pragma once


#include <stdint.h>

typedef enum
{
    X = 0,
    Y,
    Z,
    W,
} axis_e;

typedef union
{
	struct
	{
		float x;
		float y;
		float z;
	};
	float axis[3];
} Axis3float;
typedef enum
{
    FD_ROLL = 0,
    FD_PITCH,
    FD_YAW,
    FD_TURN,
    FD_SHIFT
} flight_dynamics_index_t;

typedef union
{
    struct
    {
        int16_t x;
        int16_t y;
        int16_t z;
    };
    int16_t axis[3];
} Axis3int_16;
#define XYZ_AXIS_COUNT 3
